


{{question.question_text}}



<!--
<form method = 'get' action = '{% url "polls:vote" question.id %}'>


<ul>

{% for choice in question.choice_set.all %}
	<li>
	<input type = 'radio' name = 'x' value = '{{choice.id}}' id = 'choice{{forloop.counter}}'/>
	<label for="choice{{forloop.counter}}">{{choice.choice_text}}</label><br />
	</li>
{%endfor%}


</ul>
<input type="submit" value="Vote" />

-->



<br>******************************************************



<form method = 'post' action = '{% url "polls:vote" question.id %}'>

{% csrf_token %}
<ul>

{% for choice in question.choice_set.all %}
<li>
<input type = 'radio' name = 'x' value = '{{choice.id}}' id = 'choice{{forloop.counter}}'/>
<label for="choice{{forloop.counter}}">{{choice.choice_text}}</label><br />
</li>
{%endfor%}


</ul>
{% if Error %}<h3>{{Error}}</h3>{%endif%}

<input type="submit" value="Vote" />







</form>




	
